package org.jeecg.modules.xs.vo;

import java.util.List;
import org.jeecg.modules.xs.entity.PrivatePool;
import org.jeecg.modules.xs.entity.Order;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 私域池
 * @Author: sss
 * @Date:   2022-02-15
 * @Version: V1.0
 */
@Data
@ApiModel(value="xs_private_poolPage对象", description="私域池")
public class PrivatePoolPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**私域池编号*/
	@Excel(name = "私域池编号", width = 15)
	@ApiModelProperty(value = "私域池编号")
    private java.lang.String poolNo;
	/**商品id*/
	@Excel(name = "商品id", width = 15)
	@ApiModelProperty(value = "商品id")
    private java.lang.String productId;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
	@ApiModelProperty(value = "商品名称")
    private java.lang.String productName;
	/**状态*/
	@Excel(name = "状态", width = 15)
	@ApiModelProperty(value = "状态")
    private java.lang.Integer status;
	/**副标题*/
	@Excel(name = "副标题", width = 15)
	@ApiModelProperty(value = "副标题")
    private java.lang.String subTitle;
	/**下单数量*/
	@Excel(name = "下单数量", width = 15)
	@ApiModelProperty(value = "下单数量")
    private java.lang.Integer orderNum;
	/**浏览数量*/
	@Excel(name = "浏览数量", width = 15)
	@ApiModelProperty(value = "浏览数量")
    private java.lang.Integer seeNum;
	/**发起人id*/
	@Excel(name = "发起人id", width = 15)
	@ApiModelProperty(value = "发起人id")
    private java.lang.String userId;
	/**发起人昵称*/
	@Excel(name = "发起人昵称", width = 15)
	@ApiModelProperty(value = "发起人昵称")
    private java.lang.String nickName;
	/**发起人头像*/
	@Excel(name = "发起人头像", width = 15)
	@ApiModelProperty(value = "发起人头像")
    private java.lang.String userImg;
	/**开始时间*/
	@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "开始时间")
    private java.util.Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "结束时间")
    private java.util.Date endTime;
	/**标签*/
	@Excel(name = "标签", width = 15)
	@ApiModelProperty(value = "标签")
    private java.lang.String productLabel;
	/**售价*/
	@Excel(name = "售价", width = 15)
	@ApiModelProperty(value = "售价")
    private java.math.BigDecimal price;
	/**商品原价（划线价）*/
	@Excel(name = "商品原价（划线价）", width = 15)
	@ApiModelProperty(value = "商品原价（划线价）")
    private java.math.BigDecimal costPrice;
	/**最低售价*/
	@Excel(name = "最低售价", width = 15)
	@ApiModelProperty(value = "最低售价")
    private java.lang.String minPrice;
	/**平台进货价*/
	@Excel(name = "平台进货价", width = 15)
	@ApiModelProperty(value = "平台进货价")
    private java.lang.String buyingPrice;
	/**结算价*/
	@Excel(name = "结算价", width = 15)
	@ApiModelProperty(value = "结算价")
    private java.lang.String platPrice;
	/**库存*/
	@Excel(name = "库存", width = 15)
	@ApiModelProperty(value = "库存")
    private java.lang.Integer stock;
	/**每人限购0不限购*/
	@Excel(name = "每人限购0不限购", width = 15)
	@ApiModelProperty(value = "每人限购0不限购")
    private java.lang.Integer maxBuy;
	/**商品配送规则（用户）*/
	@Excel(name = "商品配送规则（用户）", width = 15, dicCode = "xs_pool_role")
    @Dict(dicCode = "xs_pool_role")
	@ApiModelProperty(value = "商品配送规则（用户）")
    private java.lang.Integer userDeliveryRole;
	/**自提地点*/
	@Excel(name = "自提地点", width = 15)
	@ApiModelProperty(value = "自提地点")
    private java.lang.String selfAddress;
	/**自提联系电话*/
	@Excel(name = "自提联系电话", width = 15)
	@ApiModelProperty(value = "自提联系电话")
    private java.lang.String selfMobile;
	/**自提联系人*/
	@Excel(name = "自提联系人", width = 15)
	@ApiModelProperty(value = "自提联系人")
    private java.lang.String selfName;
	/**删除标识*/
	@Excel(name = "删除标识", width = 15)
	@ApiModelProperty(value = "删除标识")
    private java.lang.Integer delFlg;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;

	@ExcelCollection(name="私域订单")
	@ApiModelProperty(value = "私域订单")
	private List<Order> orderList;

}
